/* reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
iframe,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
button,
input,
textarea,
th,
td,
fieldset {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.618;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", "Helvetica Neue", sans-serif;
  color: #24292e;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
}

a {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

a:link,
a:visited,
a:hover,
a:active {
  color: #42B983;
}

img {
  display: block;
  vertical-align: top;
}




/* global */

input[type="text"],
input[type="password"],
input[type="search"] {
  border: none;
  border: 1px solid #ccc;
  height: 40px;
  text-indent: 1em;
  font-size: 16px;
  box-shadow: inset 0 1px 3px #ddd;
  border-radius: 3px;
}

.truncation {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.container {
  max-width: 770px;
  margin-left: auto;
  margin-right: auto;
}

.clearfix::after {
  display: table;
  content: '';
  clear: both;
}

.markdown-body {
  line-height: 1.6 !important;
}

code {
  white-space: pre-wrap !important;
  word-break: break-all !important;
  word-wrap: break-word !important;
}

/* webkit scrollbar */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}


::-webkit-scrollbar-track {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
}


::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .1);
  border-radius: 10px;
  -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1);
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1);
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, .3);
  -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1);
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1);
}


.page-enter-active,
.page-leave-active {
  transition: opacity .5s
}

.page-enter,
.page-leave-active {
  opacity: 0
}
